<div nz-row [nzGutter]="16">
  <div nz-col [nzMd]="24">
    <nz-spin [nzSpinning]="isSpinning">
      <nz-input-group [nzSuffix]="suffixIcon">
        <input type="text" nz-input placeholder="Search Tree Node" [(ngModel)]="searchValue">
      </nz-input-group>
      <ng-template #suffixIcon>
        <i class="anticon anticon-search"></i>
      </ng-template>
      <nz-tree #nzTree
        [(ngModel)]="nodes"
        [nzSearchValue]="searchValue"
        [nzShowLine]="true"
        [nzDefaultExpandAll]="true"
        [nzCheckable]="true"
        (nzClick)="mouseAction('click',$event)"
        (nzDblClick)="mouseAction('dblclick', $event)"
      >
      </nz-tree>
    </nz-spin>
  </div>
</div>
